<titlemenu></titlemenu>
<div class="dj-card">
    <div class="dj-body" activate-input activate-select>
        <form role="form" name="editForm" novalidate>
            <div ng-include="'../main/partyExpand/joinUser/usermodel.html'"></div>
            <div panel-title data-title="'开展短期集中培训'"></div>
            <div class="dj-formtable">
                <table class="dj-table">
                    <tr>
                        <th>培训时间</th>
                        <td ng-class="{ 'has-error' : this.editForm.trainingtime.$invalid &&  this.editForm.$submitted}">
                            <input name="trainingtime" class="form-control"
                                   autocomplete="off"
                                   autoclose="true"
                                   data-date-format="yyyy-MM-dd" data-date-type="date"
                                   ng-model="dataModel.trainingtime"
                                   placeholder="" bs-datepicker ng-required="true"/>
                            <span ng-show="this.editForm.trainingtime.$invalid &&  this.editForm.$submitted"
                                  class="error">必填.</span>
                        </td>
                        <th>培训结果</th>
                        <td ng-class="{ 'has-error' : this.editForm.trainingresult.$invalid &&  this.editForm.$submitted}">
                            <select class="form-control show-tick"
                                    ng-model="dataModel.trainingresult"
                                    ng-options="type.dickey as type.dicvalue for type in trainingResultList"
                                    class="form-control"
                                    name="trainingresult" ng-required="true">
                                <option value="" selected>--请选择--</option>
                            </select>
                            <span ng-show="this.editForm.trainingresult.$invalid &&  this.editForm.$submitted"
                                  class="error">必填.</span>
                        </td>
                    </tr>
                    <tr>
                        <th>进度完成时间</th>
                        <td ng-class="{ 'has-error' : this.editForm.progresstime.$invalid &&  this.editForm.$submitted}">
                            <input name="progresstime" class="form-control"
                                   autocomplete="off"
                                   autoclose="true"
                                   data-date-format="yyyy-MM-dd" data-date-type="date"
                                   ng-model="dataModel.progresstime"
                                   placeholder="" bs-datepicker ng-required="true"/>
                            <span ng-show="this.editForm.progresstime.$invalid &&  this.editForm.$submitted"
                                  class="error">必填.</span>
                        </td>
                        <th></th>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
            <bsfiles ng-model="reqFileModel"/>
            <div class="form_foot">
                <button type="button" class="btn btn-default" ng-click="pagechange();">返回</button>
                <button type="submit"
                        class="btn btn-primary"
                        ng-click="submitData(this.editForm.$valid)">提交
                </button>
            </div>
        </form>
    </div>
</div>